package com.samuel.blog.entity;

import com.samuel.blog.utils.StringUtils;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author kaiji
 */
public class RoleEntity implements Serializable {
	
	private static final long serialVersionUID = -3557241815452952777L;

	private String roleId;

    private String name;
    
    private Date modifyDate;

    private Date createDate;

    private List<JurisdictionEntity> jurisdictionList;
    

    public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
    		name = StringUtils.isStr(name);
        this.name = name == null ? null : name.trim();
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

	public List<JurisdictionEntity> getJurisdictionList() {
		return jurisdictionList;
	}

	public void setJurisdictionList(List<JurisdictionEntity> jurisdictionList) {
		this.jurisdictionList = jurisdictionList;
	}
	
}